package com.lyf.viewapp.picture.show;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.lyf.viewapp.R;
import com.lyf.viewapp.picture.show.custom.GridViewCustomActivity;
import com.lyf.viewapp.picture.show.list.GridView2Activity;
import com.lyf.viewapp.picture.show.list.ListView2Activity;
import com.lyf.viewapp.picture.show.nine.activity.GridStyleActivity;
import com.lyf.viewapp.picture.show.pager.ViewPagerActivity;
import com.lyf.viewapp.picture.show.rec.RecycleViewActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

public class ImageShowMainActivity extends AppCompatActivity {

    @BindView(R.id.image_show_button)
    Button imageShowButton;
    @BindView(R.id.image_show_button3)
    Button imageShowButton3;
    @BindView(R.id.image_show_button2)
    Button imageShowButton2;
    @BindView(R.id.image_show_button4)
    Button imageShowButton4;
    @BindView(R.id.image_show_button10)
    Button imageShowButton10;
    @BindView(R.id.image_show_button6)
    Button imageShowButton6;
    @BindView(R.id.image_show_button7)
    Button imageShowButton7;
    @BindView(R.id.image_show_button8)
    Button imageShowButton8;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_show_main);
        ButterKnife.bind(this);
        imageShowButton.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, ListView2Activity.class);
                startActivity(intent);
            }
        });
        imageShowButton2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, RecycleViewActivity.class);
                startActivity(intent);
            }
        });
        imageShowButton3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, GridStyleActivity.class);
                startActivity(intent);
            }
        });
        imageShowButton4.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, GridView2Activity.class);
                startActivity(intent);
            }
        });
        imageShowButton6.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, GridViewCustomActivity.class);
                startActivity(intent);
            }
        });
        imageShowButton7.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, GridViewCustomActivity.class);
                startActivity(intent);
            }
        });
        imageShowButton8.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, GridViewCustomActivity.class);
                startActivity(intent);
            }
        });
        imageShowButton10.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ImageShowMainActivity.this, ViewPagerActivity.class);
                startActivity(intent);
            }
        });
    }

}
